package com.example.techstudy.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: ls
 * @since: 2022/6/10
 */
@ConfigurationProperties(prefix = "second.datasource")
@Component
@Data
public class MyDataSourceProperties {

    private String url;

    private String username;

    private String password;


}
